ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2024 feature!
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the spatial keys of a data file (used in a query or view) recognized by the HFSQL engine.
Example
// Get the spatial keys of a data file in the current analysis
SpatialKeyList is string
SpatialKeyList = Towns.ListSpatialKeys()
// Adds the list of spatial keys to COMBO_Combo1
COMBO_Combo1.Add(SpatialKeyList)
Syntax
<Result> = <Source>.ListSpatialKeys([<Path of the WDD file> [, <Password of the WDD file>]])
<Result>: Character string
List of spatial items in the specified data file. Names of spatial items are separated by CR (carriage return).
<Source>: Type corresponding to the specified source
Name of the data file, query or view with spatial keys to be listed.
If a query name is specified, this query must be currently run (<Source>.ExecuteQuery or <Source>.ExecuteSQLQuery) in order for <Source>.ListSpatialKeys to operate. Otherwise, a WLanguage error occurs.
<Path of the WDD file>: Optional character string
Full path of the analysis (which means .WDD file) in which the data file is described.
If this parameter is not specified or if it is equal to an empty string (""), the data file is sought in the current analysis.
<Password of the WDD file>: Optional character string
Password defined for the analysis.
If no password is defined, this parameter must be equal to an empty string ("").
Business / UI classification: Business Logic
Component: wd290hf.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/03/2024

Send a report | Local help